/**
  * @title: 订单
  * @description: 
  * @author JUN
  */

import { ajaxPost } from "@/utils/request.js"

// 下单
export const generateOrder = (data,config)=>{
	const url = '/ordere/generateOrder'
	return ajaxPost(url,data,config)
}


/**
 * 方法说明:取消下单
 * author: Guitu
 * description: 
 * @param 
 * @return 
 * @createTime: 2020-9-10 22:27:59
 */
export const cancelOrder = (data,config)=>{
	const url = '/ordere/cancelOrder'
	return ajaxPost(url,data,config)
}

//订单配送
export const delivery = (data,config)=>{
	const url = '/ordere/delivery'
	return ajaxPost(url,data,config)
}
